how to check if a char is a letter java

54

How to check if a char is a letter -

function isCharacterALetter(char) {
  return (/[a-zA-Z]/).test(char)
}

Comments

Submit
0 Comments